|
Jpp 19.3.0-rc.1
the software that should make you happy
|
Classes | |
| class | JClient |
| ControlHost client manager. More... | |
| class | JClientList |
| List of ControlHost client managers. More... | |
| class | JControlHost |
| ControlHost class. More... | |
| class | JControlHostObjectIterator |
| Object iteration through ControlHost. More... | |
| class | JControlHostObjectOutput |
| Implemenation of object output through ControlHost. More... | |
| class | JControlHostObjectOutput< JTypeList< JHead_t, JNullType > > |
| Terminator class of recursive JControlHostObjectOutput class. More... | |
| class | JControlHostObjectOutput< JTypeList< JHead_t, JTail_t > > |
| Implementation of object output for multiple data types. More... | |
| class | JControlHostServer |
| Light-weight wrapper class around server socket. More... | |
| class | JDispatch |
| Data structure of a ControlHost message. More... | |
| struct | JHostname |
| Auxiliary data structure for hostname and port number. More... | |
| class | JLigierObjectIterator |
| Object iteration through ControlHost server. More... | |
| class | JMemory_t |
| class | JPrefix |
| ControlHost prefix. More... | |
| class | JSelect |
| Wrapper class for select call. More... | |
| class | JSelectReader |
| Wrapper class for select call. More... | |
| class | JSelectWriter |
| Wrapper class for select call. More... | |
| class | JServerSocket |
| TCP server socket. More... | |
| class | JSocket |
| Socket class. More... | |
| class | JSocketAddress |
The JSocketAddress class encapsulates the sockaddr_in data structure. More... | |
| class | JSocketBlocking |
| Blocking socket I/O. More... | |
| class | JSocketBuffer |
| Auxiliary class for non-blocking socket I/O. More... | |
| class | JSocketChannel |
| Auxiliary class for socket channel. More... | |
| class | JSocketInputChannel |
| Socket input channel. More... | |
| class | JSocketNonblockingReader |
| Non-blocking socket reader. More... | |
| class | JSocketNonblockingWriter |
| Non-blocking socket writer. More... | |
| class | JSocketOutputChannel |
| Socket output channel. More... | |
| class | JSocketStatus |
| Auxiliary class for non-blocking socket I/O. More... | |
| class | JSubscription |
| ControlHost subscription. More... | |
| struct | JSubscriptionAll |
| Auxiliary class for all subscription. More... | |
| struct | JSubscriptionAny |
| Auxiliary class for any subscription. More... | |
| class | JSubscriptionList |
| Subscription list. More... | |
| class | JTag |
| ControlHost tag. More... | |
| class | JTCPSocket |
| TCP socket. More... | |
| class | JUDPSocket |
| UDP socket. More... | |
Typedefs | |
| typedef JControlHost | ControlHost |
| Match name. | |
| typedef JControlHostServer | ControlServ |
| Match name. | |
| typedef JPrefix | JPrefix_t |
| typedef JSocketInputChannel< JPrefix_t > | JSocketInputChannel_t |
| typedef JSocketBuffer< char > | JSocketInputBuffer |
| typedef JSocketBuffer< const char > | JSocketOutputBuffer |
| typedef long long int | JTag_t |
| Type definition of numerical ControlHost tag. | |
Enumerations | |
| enum | JSubscription_t { SUBSCRIBE_ALL = 'a' , SUBSCRIBE_ANY = 'w' } |
| ControlHost subscription types. More... | |
Functions | |
| template<> | |
| int | getSizeOfPacket (const KM3NETDAQ::JDAQAbstractPreamble &preamble) |
| Get size of packeet. | |
| JSubscriptionList | operator+ (const JSubscription &first, const JSubscription &second) |
| Add operator. | |
| int | getSizeOfPacket (const JPrefix_t &prefix) |
| Get total size of internet packet. | |
| void | setSizeOfPacket (const int size, JPrefix_t &prefix) |
| Set total size of internet packet. | |
| std::ostream & | operator<< (std::ostream &out, const JDispatch &message) |
| Print message. | |
| std::ostream & | operator<< (std::ostream &out, const JSocket &socket) |
| Print socket. | |
| std::ostream & | operator<< (std::ostream &out, const JSocketStatus &status) |
| Print socket status. | |
| std::ostream & | operator<< (std::ostream &out, const JSocketInputBuffer &buffer) |
| Print socket input buffer. | |
| template<class JPrefix_t > | |
| int | getSizeOfPacket (const JPrefix_t &prefix) |
| Get size of data, including the header. | |
| template<class JPrefix_t > | |
| void | setSizeOfPacket (const int size, JPrefix_t &prefix) |
| Set size of data, including the header. | |
| bool | operator< (const JTag &first, const JTag &second) |
| Less than operator for JTag. | |
| bool | operator== (const JTag &first, const JTag &second) |
| Equal operator for JTag. | |
| bool | operator!= (const JTag &first, const JTag &second) |
| Not equal operator for JTag. | |
Variables | |
| static const std::string | CHOO_VERSION = "1.0" |
| static const int | DISPATCH_PORT = 5553 |
| Default ControlHost port. | |
| static const size_t | TAGSIZE = sizeof(JTag_t) |
| Size of ControlHost tag. | |
| static const JTag | DISPTAG_Subscribe ("_Subscri") |
| Special ControlHost tags. | |
| static const JTag | DISPTAG_Gime ("_Gime") |
| static const JTag | DISPTAG_Always ("_Always") |
| static const JTag | DISPTAG_MyId ("_MyId") |
| static const JTag | DISPTAG_Born ("Born") |
| static const JTag | DISPTAG_Died ("Died") |
| static const JTag | DISPTAG_ShowStat ("_ShowSta") |
| static const JTag | DISPTAG_WhereIs ("_WhereIs") |
| static const JTag | DISPTAG_Version ("_Version") |
| static const JTag | DISPTAG_Debug ("_Debug") |
| static const JTag | DISPTAG_UNDEFINED (0) |
| typedef JControlHost JNET::ControlHost |
Match name.
Definition at line 698 of file JControlHost.hh.
| typedef JControlHostServer JNET::ControlServ |
Match name.
Definition at line 70 of file JControlHostServer.hh.
| typedef JPrefix JNET::JPrefix_t |
Definition at line 29 of file JLigier.cc.
Definition at line 30 of file JLigier.cc.
| typedef JSocketBuffer<char> JNET::JSocketInputBuffer |
Definition at line 109 of file JSocketNonblocking.hh.
| typedef JSocketBuffer<const char> JNET::JSocketOutputBuffer |
Definition at line 110 of file JSocketNonblocking.hh.
| typedef long long int JNET::JTag_t |
ControlHost subscription types.
| Enumerator | |
|---|---|
| SUBSCRIBE_ALL | |
| SUBSCRIBE_ANY | |
Definition at line 40 of file JControlHost.hh.
|
inline |
Get size of packeet.
| preamble | DAQ data preamble |
Definition at line 82 of file JDataFilter.cc.
|
inline |
Add operator.
| first | subscription |
| second | subscription |
Definition at line 234 of file JControlHost.hh.
|
inline |
Get total size of internet packet.
| prefix | prefix |
Definition at line 39 of file JLigier.cc.
|
inline |
Set total size of internet packet.
| size | number of bytes |
| prefix | prefix |
Definition at line 51 of file JLigier.cc.
|
inline |
Print message.
| out | output stream |
| message | message |
Definition at line 521 of file JLigier.cc.
|
inline |
Print socket.
| out | output stream |
| socket | socket |
Definition at line 534 of file JLigier.cc.
|
inline |
Print socket status.
| out | output stream |
| status | socket status |
Definition at line 547 of file JLigier.cc.
|
inline |
Print socket input buffer.
| out | output stream |
| buffer | socket buffer |
Definition at line 560 of file JLigier.cc.
Get size of data, including the header.
This method should be implemented for each template class for read operations.
| prefix | prefix |
Set size of data, including the header.
This method should be implemented for each template class for write operations.
| size | number of bytes |
| prefix | prefix |
|
static |
Definition at line 34 of file JControlHost.hh.
|
static |
Default ControlHost port.
Definition at line 27 of file JHostname.hh.
|
static |
|
static |
Special ControlHost tags.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |