Rise
The Vieneo Province
Loading...
Searching...
No Matches
CityCampaignLogos Class Reference

#include <CityCampaignLogos.h>

Collaboration diagram for CityCampaignLogos:
[legend]

Classes

struct  Measurement
class  Impl

Public Member Functions

 CityCampaignLogos (const std::function< void(const char *)> &trace={})
 ~CityCampaignLogos ()
bool Assign (int32_t group, const char *filename, size_t capacity)
void Update (Rendering::RenderDevice *device, uint64_t now, const std::function< void(const CityLogos::AssignmentAsset &)> &send, bool measure=false)
bool Receive (Rendering::RenderDevice *device, int32_t token, const void *bytes, size_t size, uint64_t now)
Rendering::RenderTexture * Texture (int32_t group) const
void MarkDrawn (int32_t group) const
Measurement Measure (int32_t group) const
bool HasAnimatedArtwork () const
void Reset ()

Private Attributes

std::unique_ptr< Impl > impl

Detailed Description

Definition at line 7 of file CityCampaignLogos.h.

Constructor & Destructor Documentation

◆ CityCampaignLogos()

CityCampaignLogos::CityCampaignLogos ( const std::function< void(const char *)> & trace = {})
explicit

Definition at line 90 of file CityCampaignLogos.cpp.

◆ ~CityCampaignLogos()

CityCampaignLogos::~CityCampaignLogos ( )
default
Here is the call graph for this function:

Member Function Documentation

◆ Assign()

bool CityCampaignLogos::Assign ( int32_t group,
const char * filename,
size_t capacity )

Definition at line 96 of file CityCampaignLogos.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HasAnimatedArtwork()

bool CityCampaignLogos::HasAnimatedArtwork ( ) const

Definition at line 237 of file CityCampaignLogos.cpp.

Here is the caller graph for this function:

◆ MarkDrawn()

void CityCampaignLogos::MarkDrawn ( int32_t group) const

Definition at line 251 of file CityCampaignLogos.cpp.

Here is the caller graph for this function:

◆ Measure()

CityCampaignLogos::Measurement CityCampaignLogos::Measure ( int32_t group) const

Definition at line 224 of file CityCampaignLogos.cpp.

Here is the caller graph for this function:

◆ Receive()

bool CityCampaignLogos::Receive ( Rendering::RenderDevice * device,
int32_t token,
const void * bytes,
size_t size,
uint64_t now )

Definition at line 182 of file CityCampaignLogos.cpp.

Here is the caller graph for this function:

◆ Reset()

void CityCampaignLogos::Reset ( )

Definition at line 259 of file CityCampaignLogos.cpp.

Here is the caller graph for this function:

◆ Texture()

Rendering::RenderTexture * CityCampaignLogos::Texture ( int32_t group) const

Definition at line 243 of file CityCampaignLogos.cpp.

Here is the caller graph for this function:

◆ Update()

void CityCampaignLogos::Update ( Rendering::RenderDevice * device,
uint64_t now,
const std::function< void(const CityLogos::AssignmentAsset &)> & send,
bool measure = false )

Definition at line 120 of file CityCampaignLogos.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ impl

std::unique_ptr<Impl> CityCampaignLogos::impl
private

Definition at line 37 of file CityCampaignLogos.h.


The documentation for this class was generated from the following files: