9 #ifndef ONLINELOGGERINFOWRAPPER_HH 10 #define ONLINELOGGERINFOWRAPPER_HH 65 void setIP(
const char *_ip);
68 const char *
getIP()
const;
92 static char *emptyString();
95 static char *dupString(
const char *sorig);
121 OnlineLoggerInfo::operator=(info);
122 duplicateAll(*
this, info);
129 OnlineLoggerInfo::operator=(info);
130 duplicateAll(*
this, info);
138 OnlineLoggerInfo::operator=(info);
157 OnlineLoggerInfo::operator=(info);
158 duplicateAll(*
this, info);
207 extern std::ostream & operator<<(std::ostream &os, const std::vector<OnlineLoggerInfoWrapper> &list);
209 #endif // ONLINELOGGERINFOWRAPPER_HH const char * getMbnr() const
Get logger's mainboard number.
Definition: OnlineLoggerInfoWrapper.hh:186
const char * mbnr
mainboard number
Definition: BPNGDefines.h:660
Struct with information about a logger found in LAN/WLAN used to notify IBPNGClientListener about det...
Definition: BPNGDefines.h:656
void setName(const char *_ip)
Set logger's name.
OnlineLoggerInfoWrapper & operator=(const OnlineLoggerInfo &info)
Copy assignement from the "original".
Definition: OnlineLoggerInfoWrapper.hh:154
void setMbnr(const char *_ip)
Set logger's mainboard number.
~OnlineLoggerInfoWrapper()
DTOR.
Definition: OnlineLoggerInfoWrapper.hh:146
const OnlineLoggerInfo & getInfo() const
Get OnlineLoggerInfo.
Definition: OnlineLoggerInfoWrapper.hh:165
Wrapper around brain dead OnlineLoggerInfo.
Definition: OnlineLoggerInfoWrapper.hh:30
void setIP(const char *_ip)
Set logger's IP.
DECLDIR OnlineLoggerInfo createEmptyOnlineLoggerInfo()
friend std::ostream & operator<<(std::ostream &os, const OnlineLoggerInfoWrapper &oli)
Output operator.
const char * getName() const
Get logger's name.
Definition: OnlineLoggerInfoWrapper.hh:179
int32_t tslNetworkId
id of tsl network, -1 = no TSL, all devices with same tslNetworkId belong to the same TSL ...
Definition: BPNGDefines.h:669
OnlineLoggerInfoWrapper()
Default CTOR.
Definition: OnlineLoggerInfoWrapper.hh:111
const char * getIP() const
Get logger's IP.
Definition: OnlineLoggerInfoWrapper.hh:172
Interface class for the BPNGClient DLL.
const char * ip
the logger's ip address, obligatory if OnlineLoggerInfo is used with IBPNGClient::setDevice() ...
Definition: BPNGDefines.h:658
const char * name
the logger's name
Definition: BPNGDefines.h:659
int32_t getTslNetworkId() const
Get logger's TSL network ID.
Definition: OnlineLoggerInfoWrapper.hh:193